<template>
  <div class="page">
      <p class="title">{{content.name}}</p>
      <div class="content" v-html="content.content"></div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      content: {}
    }
  },
  created () {
    this.init()
  },
  methods: {
    async init () {
      var that = this
      var result = await this.$api.getPrivacy()
      if (result.code === 200) {
        that.content = result.data
      }
    }
  }
}
</script>

<style scoped>
.title{
  /* padding: 10px 0; */
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}
.content{
  padding: 0 20px;
}

</style>
